package com.qidian.mes.util.dot;

import java.util.List;

/**
 * @Author 小可怎么都睡不够
 * @Company 起点编程
 * @Description  封装分页查询的结果
 * @Time 2024/4/3 10:08
 */
public class PagerDTO<T> {
    private int page;
    private int limit;
    private int total;
    private List<T> data;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
